package com.cxh.supermarket.common.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

/**
 * 功能描述: 鉴权服务配置
 *
 * @author zxl
 * @since 2024/1/22
 */
@Configuration
public class ValidateSmsCodeConfig {

    /**
     * 验证码后门 生产环境自动禁用
     */
    @Profile(value = {"dev", "local", "test"})
    @Bean
    public void captchaBackdoor() {
    }
}
